package dataBase;
import java.util.List;

public class Code {
	public Code(int codeId, String title, int majorVer, int minorVer,
			String body, User writer, boolean visible, List<String> categories) {
		super();
		this.codeId = codeId;
		this.title = title;
		this.majorVer = majorVer;
		this.minorVer = minorVer;
		this.body = body;
		this.writer = writer;
		this.visible = visible;
		this.categories = categories;
	}
	int codeId;
	String title;
	int majorVer = -1;
	int minorVer = -1;
	String body;
	User writer;
	boolean visible;
	List<String> categories;
}
